
<div class="pageContent">
	
	<form method="post" action="<?php echo Yii::app()->createUrl('site/doLogin');?>" class="pageForm" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">
			<div class="unit">
				<label>用户名：</label>
				<input type="text" name="loginForm[username]" id="username" size="20" class="require login_input" />
			</div>
			<div class="unit">
				<label>密码：</label>
				<input type="password" name="loginForm[password]" id="password" size="20" class="require login_input" />
			</div>
			<div class="unit">
				<label>验证码：</label>
				<input class="require code" type="text" id="chkcode" name="loginForm[chkcode]" size="7" />&nbsp;&nbsp;
				<span><img src="<?php echo Yii::app()->createUrl('site/captcha');?>" onclick="this.src='<?php echo Yii::app()->createUrl('site/captcha');?>&'+Math.random()" alt="点击刷新验证码" title="点击刷新验证码"width="70" height="22" style="cursor:pointer"/></span>
			</div>
			<input type="hidden" name="refushTarget" value="">
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>
<script type="text/javascript">
$("input[name=refushTarget]").val(location.href.split('#')[1]);
</script>
